/****************************************************
          File Name:10-2.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Mon 22 Dec 2014 09:20:46 PM CST
*****************************************************/

#ifndef THIS_H_
#define THIS_H_
#include<iostream>

using std::string;

class Person
{
    private:
        //static const LIMIT = 25;
        string lname;
        //char fname[LIMIT];  // see 10-1.h
        char fname[25];  // see 10-1.h
    public:
        Person() {lname = ""; fname[0] = '\0';}
        Person(const string & ln, const char *fn="Heyyou");
        ~Person() {std::cout <<"Bye" <<std::endl;}

        void show() const;
        void formalshow() const;
};

#endif
